/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sinemaproject;

/**
 *
 * @author admin
 */
public class result {
    
    public void setResult( String res ){
        if( res.equals("button1") ){
            SalonYonet sy = new SalonYonet();
            sy.setVisible(true);            
        }
        else if( res.equals("button2") ){
            //FilmYonet fy = new FilmYonet();
            //fy.setVisible(true);
            
        }
        else if( res.equals("button3") ){
            CalisanIslemi ci = new CalisanIslemi();
            ci.setVisible(true);
        }
        else if( res.equals("button4") ) {
            SeansYonet sy = new SeansYonet();
            sy.setVisible(true);
        }
        else
        {
            CalisanTip ct = new CalisanTip();
            ct.setVisible(true);
        }
    }
}
